Skip to content

Backport use of thread delay over sleep and handle dispose in FileSystemMainDomLock#18151

Merged
AndyButland merged 3 commits intov13/devfrom
v13/task/handle-dispose-and-thread-delay-in-file-system-lock
Feb 12, 2025
Merged

Backport use of thread delay over sleep and handle dispose in FileSystemMainDomLock#18151
AndyButland merged 3 commits intov13/devfrom
v13/task/handle-dispose-and-thread-delay-in-file-system-lock

Conversation

@AndyButland
Copy link
Copy Markdown
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

Description

This backports the changes applied in PRs #18119 and #18147.

Test steps are described in the second linked PR. I've verified these on this PR for Umbraco 13.

@nul800sebastiaan
Copy link
Copy Markdown
Member

@AndyButland I've marked the related PRs for release 13.7.0, which is where I think it will go?

@AndyButland
Copy link
Copy Markdown
Contributor Author

@JasonElkin - do you think you'd have time to look over this one please, just as a second pair of eyes that I've backported your amend to 13 correctly? Thanks if so.

Copy link
Copy Markdown
Contributor

@JasonElkin JasonElkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_lockFileStream?.Close();
_lockFileStream = null;

Should be replaced by a call to ReleaseLock()

@AndyButland AndyButland enabled auto-merge (squash) February 12, 2025 05:43
@AndyButland
Copy link
Copy Markdown
Contributor Author

Thanks @JasonElkin, have updated. I'll include this in the 13.7 release candidate due out today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants